home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 20 code / Scripting the Finder / Finder Tricks / SendFinderTricks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-04  |  1.4 KB  |  26 lines  |  [TEXT/MMCC]

  1. #ifndef __SENDFINDERTRICKS__
  2. #define __SENDFINDERTRICKS__
  3.  
  4. #include "AppleEventUtilities.h"
  5.  
  6. void FindPSNbyTypeAndSig(ProcessSerialNumber* psn, OSType type, OSType sig);
  7. TDescriptor GetAddressOfFinder(void);
  8. TDescriptor MakeSpecifierForSelection(void);
  9. TDescriptor MakeSpecifierForIndexedItem(DescType desiredClass, long index, TDescriptor ofSpecifier);
  10. TDescriptor MakeSpecifierForFrontWindow(void);
  11. TDescriptor MakeSpecifierForPropertyOfSpecifier(DescType property, TDescriptor ofSpecifier);
  12. TDescriptor MakeSpecifierForPropertyOfSelection(DescType property);
  13. TDescriptor GetFinderSelection(DescType desiredType);
  14. long CountItemsInContainer(DescType desiredClass, TDescriptor inContainer, TDescriptor target);
  15. void RotateIconsTrick(void);
  16. void SetDescTypePropertyOfSpecifier(TDescriptor directObjectSpecifier, DescType newValue);
  17. void SetDescTypePropertyOfFinderSelection(DescType property, DescType newValue);
  18. void SetTypesOfSelectionWithMultipleEvents(Boolean setCreator, DescType newCreatorType, Boolean setType, DescType newFileType);
  19. void SetTypesOfSelectionUsingFileSystem(Boolean setCreator, DescType newCreatorType, Boolean setType, DescType newFileType);
  20. void SetTypesOfFinderSelection(short method, Boolean setCreator, DescType newCreatorType, Boolean setType, DescType newFileType);
  21. void RevealOwnerOfFrontWindow();
  22. void RemoveCustomIconFromSelection();
  23. void ShareSelectedFolders();
  24.  
  25. #endif
  26.